var mongoose = require('mongoose'),
    pointhistory = require('../models/pointhistory');

exports.insert = function (doc) {
  return new pointhistory(doc).save();
};